<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Error</title>
<style type="text/css">

body {
background-color:	#fff;
margin:				40px;
font-family:		Lucida Grande, Verdana, Sans-serif;
font-size:			12px;
color:				#000;
}

#content  {
border:				#999 1px solid;
background-color:	#fff;
padding:			20px 20px 12px 20px;
margin:				20px;
}

h1 {
font-weight:		normal;
font-size:			14px;
color:				#990000;
margin: 			0 0 4px 0;
}
</style>
</head>
<body>
	<div id="content">
		<h1><?php echo $heading; ?></h1>

		<?php foreach ( $message AS $item ): ?>
		<ul>
			<li><strong>FILE:</strong> <?php echo str_replace(__BASE_PATH__ . __DS__, "", $item['file']); ?></li>
			<li><strong>LINE:</strong> <?php echo $item['line']; ?></li>
			<li><strong>FUNCTION:</strong> <?php echo $item['function']; ?></li>
			<li><strong>ARGS:</strong>
				<ol>
					<?php foreach ( $item['args'] AS $arg ): ?>
					<li><?php echo $arg; ?></li>
					<?php endforeach; ?>
				</ol>
			</li>
		</ul>
		<hr />
		<?php endforeach; ?>

	</div>
	<div style="clear:both;"></div>
</body>
</html>